//
//  UILabel+TYExtendion.m
//  TYToolKit
//
//  Created by dev_tianyu on 16/8/6.
//  Copyright © 2016年 dev_tianyu. All rights reserved.
//

#import "UILabel+TYExtendion.h"

@implementation UILabel (TYExtendion)
- (void) addDeleteLine
{
    NSAttributedString *attrStr = [[NSAttributedString alloc] initWithString:self.text attributes:@{NSStrikethroughStyleAttributeName : @(NSUnderlineStyleSingle),NSStrikethroughColorAttributeName:[UIColor whiteColor]}];
    self.attributedText = attrStr;
}
@end
